package com.album.common;

import java.io.File;

/**
 * @author  Devin.Hu
 * @date 2011-6-24
 * @version V1.0 
 * @description VIPSHOP常量类
 */
public class Constants {

	public static final String SYS_PACKAGE = "com.album";
	//api secret
	public static final String API_SECRET = "123456"; 			     //500  服务器内部错误
	
	//错误信息表
	public static final String NO_DATA = "NO_DATA";
	public static final String REQUIRE_PARAMETER_MISS = "REQUIRE_PARAMETER_MISS";
	public static final String OUT_OF_BOUND = "OUT_OF_BOUND";
	public static final String NO_GOODS ="NO_GOODS";
	public static final String NO_SIZE = "NO_SIZE";
	public static final String NOT_FOR_SALE = "NOT_FOR_SALE";
	public static final String NO_STOCK = "NO_STOCK";
	public static final String SERVER_ERROR = "SERVER_ERROR";
	public static final String ERROR_LOGIN_ID = "ERROR_LOGIN_ID";
	public static final String ERROR_PASSWORD = "ERROR_PASSWORD";
	public static final String LOGIN_FAILED = "LOGIN_FAILED";
	public static final String USER_EXISTS = "USER_EXISTS";
	public static final String USER_NOT_EXISTS = "USER_NOT_EXISTS";
	
	public static final String NO_DATA_MSG = "找不到相关数据";
	public static final String REQUIRE_PARAMETER_MISS_MSG = "必要参数未传递或不正常";
	public static final String SERVER_ERROR_MSG = "系统故障";
	public static final String ERROR_LOGIN_ID_MSG = "登录名错误";
	public static final String ERROR_PASSWORD_MSG = "密码错误";
	public static final String LOGIN_FAILED_MSG = "登录失败";
	public static final String USER_EXISTS_MSG = "用户已存在";
	public static final String USER_NOT_EXISTS_MSG = "用户不存在";
	
	public static final String SESSION_USER_NAME = "session_user_name"; // 用户名
	public static final String SESSION_USER_PASS = "session_user_pass"; // 用户密码
	public static final String SESSION_LOGIN = "session_user_flgs"; 	// 登录成功状态
	
	public static int m_screenWidth=0;
	public static int m_screenHeight=0;
	
}
